package com.runvp.common.enums;


/**
 * 平台环境
 * @author xukk_dp
 */

public enum EnvType implements BaseEnumInterface {

    LOCAL("local", "本地"),
    DEV("dev", "开发"),
    RELEASE("release", "仿真"),
    PRO("pro", "生产"),
    PROD("prod", "生产");

    private final String code;
    private final String desc;
    private String defaulted;

    @Override
    public String getDefaulted() {
        return defaulted;
    }


    EnvType(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }



    EnvType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getDesc() {
        return desc;
    }
}
